package com.warehouse.module.business.dal.mysql.cargoinfo;

import java.util.*;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.warehouse.framework.common.pojo.PageResult;
import com.warehouse.framework.mybatis.core.dataobject.BaseDO;
import com.warehouse.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.warehouse.framework.mybatis.core.mapper.BaseMapperX;
import com.warehouse.module.business.dal.dataobject.cargoinfo.CargoInfoDO;
import org.apache.ibatis.annotations.Mapper;
import com.warehouse.module.business.controller.admin.cargoinfo.vo.*;
import org.apache.ibatis.annotations.Param;

/**
 * 货物资料 Mapper
 *
 * @author Eric
 */
@Mapper
public interface CargoInfoMapper extends BaseMapperX<CargoInfoDO> {


    List<CargoInfoRespVO> pageCargoInfos(@Param("page") Page<CargoInfoPageReqVO> mpPage,
                                                  @Param("req") CargoInfoPageReqVO pageVO);

    CargoInfoRespVO getInfoById(@Param("id") Long id);

    List<CargoInfoSumaryVO> sumaryOrderStatus(CargoInfoPageReqVO reqVO);

}